[INFO] fetching crate etherage 0.1.0...
[INFO] checking etherage-0.1.0 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate etherage 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate etherage 0.1.0 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate etherage 0.1.0
[INFO] finished tweaking crates.io crate etherage 0.1.0
[INFO] tweaked toml for crates.io crate etherage 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate crates.io crate etherage 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b4a36d6ab8e0d44cdd7d03e172a2d47d1ff4763d926dc3d210104568e671bb2
[INFO] running `Command { std: "docker" "start" "-a" "2b4a36d6ab8e0d44cdd7d03e172a2d47d1ff4763d926dc3d210104568e671bb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b4a36d6ab8e0d44cdd7d03e172a2d47d1ff4763d926dc3d210104568e671bb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b4a36d6ab8e0d44cdd7d03e172a2d47d1ff4763d926dc3d210104568e671bb2", kill_on_drop: false }`
[INFO] [stdout] 2b4a36d6ab8e0d44cdd7d03e172a2d47d1ff4763d926dc3d210104568e671bb2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b55db4e0497cb8c65386c274561c0d872801cbcc120227d6736d5d50fb722432
[INFO] running `Command { std: "docker" "start" "-a" "b55db4e0497cb8c65386c274561c0d872801cbcc120227d6736d5d50fb722432", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.59
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling semver v1.0.17
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling log v0.4.18
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling rustix v0.37.19
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling packed_struct v0.10.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking arbitrary-int v1.2.6
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling heapless v0.7.16
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking io-lifetimes v1.0.11
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking thread-priority v0.13.1
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]     Checking ctrlc v3.4.0
[INFO] [stderr]     Checking is-terminal v0.4.7
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]    Compiling packed_struct_codegen v0.10.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.0
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling bilge-impl v0.1.5
[INFO] [stderr]     Checking bilge v0.1.5
[INFO] [stderr]     Checking pin-project v1.1.0
[INFO] [stderr]     Checking futures-concurrency v7.3.0
[INFO] [stderr]     Checking etherage v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum fills its bitsize
[INFO] [stdout]    --> src/registers.rs:472:10
[INFO] [stdout]     |
[INFO] [stdout] 472 | #[derive(TryFromBits, Debug, Copy, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: you can use `#[derive(FromBits)]` instead, rust will provide `TryFrom` for you (so you don't necessarily have to update call-sites)
[INFO] [stdout]     = note: this warning originates in the derive macro `TryFromBits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum fills its bitsize
[INFO] [stdout]    --> src/registers.rs:482:10
[INFO] [stdout]     |
[INFO] [stdout] 482 | #[derive(TryFromBits, Debug, Copy, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: you can use `#[derive(FromBits)]` instead, rust will provide `TryFrom` for you (so you don't necessarily have to update call-sites)
[INFO] [stdout]     = note: this warning originates in the derive macro `TryFromBits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum fills its bitsize
[INFO] [stdout]    --> src/registers.rs:472:10
[INFO] [stdout]     |
[INFO] [stdout] 472 | #[derive(TryFromBits, Debug, Copy, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: you can use `#[derive(FromBits)]` instead, rust will provide `TryFrom` for you (so you don't necessarily have to update call-sites)
[INFO] [stdout]     = note: this warning originates in the derive macro `TryFromBits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum fills its bitsize
[INFO] [stdout]    --> src/registers.rs:482:10
[INFO] [stdout]     |
[INFO] [stdout] 482 | #[derive(TryFromBits, Debug, Copy, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: you can use `#[derive(FromBits)]` instead, rust will provide `TryFrom` for you (so you don't necessarily have to update call-sites)
[INFO] [stdout]     = note: this warning originates in the derive macro `TryFromBits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdo::Sdo`
[INFO] [stdout]  --> src/slave.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 7 |     sdo::Sdo,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CommunicationState`
[INFO] [stdout]   --> src/mapping.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 |     slave::{Slave, CommunicationState},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdo::Sdo`
[INFO] [stdout]  --> src/slave.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 7 |     sdo::Sdo,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CommunicationState`
[INFO] [stdout]   --> src/mapping.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 |     slave::{Slave, CommunicationState},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/data.rs:48:45
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn uninit() -> Self {unsafe {core::mem::uninitialized()}}
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/data.rs:48:45
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn uninit() -> Self {unsafe {core::mem::uninitialized()}}
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `priority`
[INFO] [stdout]    --> src/mailbox.rs:103:52
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub async fn read<'a>(&mut self, ty: MailboxType, priority: u2, data: &'a mut [u8]) -> &'a [u8] {
[INFO] [stdout]     |                                                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sent`
[INFO] [stdout]    --> src/mailbox.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let sent = frame.finish();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_sent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `priority`
[INFO] [stdout]    --> src/mailbox.rs:103:52
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub async fn read<'a>(&mut self, ty: MailboxType, priority: u2, data: &'a mut [u8]) -> &'a [u8] {
[INFO] [stdout]     |                                                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sent`
[INFO] [stdout]    --> src/mailbox.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let sent = frame.finish();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_sent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bilge::prelude`
[INFO] [stdout]  --> src/master.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bilge::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bilge::prelude`
[INFO] [stdout]  --> src/master.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bilge::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rawmaster.rs:310:25
[INFO] [stdout]     |
[INFO] [stdout] 310 |             if let Some(mut storage) = state.receive[token].as_mut() {
[INFO] [stdout]     |                         ----^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rawmaster.rs:310:25
[INFO] [stdout]     |
[INFO] [stdout] 310 |             if let Some(mut storage) = state.receive[token].as_mut() {
[INFO] [stdout]     |                         ----^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SDO_REQUEST_MAX_SIZE` is never used
[INFO] [stdout]   --> src/can.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const SDO_REQUEST_MAX_SIZE: usize = registers::mailbox_buffers[0].len 
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/mapping.rs:411:34
[INFO] [stdout]     |
[INFO] [stdout] 411 |             config: unsafe {&mut *(slave as *const _ as *mut _)},
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(cast_ref_to_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/mapping.rs:506:35
[INFO] [stdout]     |
[INFO] [stdout] 506 |             entries: unsafe {&mut *(entries as *const _ as *mut _)},
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/mapping.rs:507:33
[INFO] [stdout]     |
[INFO] [stdout] 507 |             slave: unsafe {&mut *(self as *const _ as *mut _)},
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/mapping.rs:537:35
[INFO] [stdout]     |
[INFO] [stdout] 537 |             entries: unsafe {&mut *(entries as *const _ as *mut _)},
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SDO_REQUEST_MAX_SIZE` is never used
[INFO] [stdout]   --> src/can.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const SDO_REQUEST_MAX_SIZE: usize = registers::mailbox_buffers[0].len 
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/mapping.rs:411:34
[INFO] [stdout]     |
[INFO] [stdout] 411 |             config: unsafe {&mut *(slave as *const _ as *mut _)},
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(cast_ref_to_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/mapping.rs:506:35
[INFO] [stdout]     |
[INFO] [stdout] 506 |             entries: unsafe {&mut *(entries as *const _ as *mut _)},
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/mapping.rs:507:33
[INFO] [stdout]     |
[INFO] [stdout] 507 |             slave: unsafe {&mut *(self as *const _ as *mut _)},
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/mapping.rs:537:35
[INFO] [stdout]     |
[INFO] [stdout] 537 |             entries: unsafe {&mut *(entries as *const _ as *mut _)},
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `etherage` (lib test) due to 5 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `etherage` (lib) due to 5 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b55db4e0497cb8c65386c274561c0d872801cbcc120227d6736d5d50fb722432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b55db4e0497cb8c65386c274561c0d872801cbcc120227d6736d5d50fb722432", kill_on_drop: false }`
[INFO] [stdout] b55db4e0497cb8c65386c274561c0d872801cbcc120227d6736d5d50fb722432
